package com.bean.entity;

import java.io.Serializable;

/**
 * User: 刘文雄
 * Date:2022/3/28 15:46
 * 职称实体类
 */
public class Professional implements Serializable {
    private Integer id;
    private String professionalName;

    @Override
    public String toString() {
        return "Professional{" +
                "id=" + id +
                ", professionalName='" + professionalName + '\'' +
                '}';
    }

    public Professional() {
    }

    public Professional(Integer id) {
        this.id = id;
    }

    public Professional(String professionalName) {
        this.professionalName = professionalName;
    }

    public Professional(Integer id, String professionalName) {
        this.id = id;
        this.professionalName = professionalName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProfessionalName() {
        return professionalName;
    }

    public void setProfessionalName(String professionalName) {
        this.professionalName = professionalName;
    }
}
